package com.haiyi.activiti.engine.framework.basic.impl;

import com.baomidou.mybatisplus.toolkit.IdWorker;
import com.haiyi.activiti.engine.framework.basic.IdBuilder;
import org.springframework.stereotype.Component;

/**
 * <p> </p>
 *
 * <pre> Created: 2018/12/5 10:01 </pre>
 *
 * @author hlu
 * @version 1.0
 * @since JDK 1.7
 */
@Component
public class MybatisPlusIdBuilder implements IdBuilder {
    @Override
    public String getId() {
        return IdWorker.getId()+"";
    }
}
